package com.danton.auth.token;

import org.apache.shiro.authc.UsernamePasswordToken;

public class LoginToken extends UsernamePasswordToken {
	private static final long serialVersionUID = 4676958151524148623L;

	private String from;

	public LoginToken(String username, String password, String from) {
		super(username, password);
		this.from = from;
	}

	public LoginToken(String username, String password, boolean rememberMe, String host, String from) {
		super(username, password, rememberMe, host);
		this.from = from;
	}

	public String getFrom() {
		return from;
	}

	public void setFrom(String from) {
		this.from = from;
	}

}
